<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试报告</title>

    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
    <script src=" https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/echarts/5.1.2/echarts.min.js"></script>
    <!--    页面样式-->
    <style type="text/css">
        /*标题样式*/
        .title {
            width: auto;
            height: 60px;
            text-align: center;
            font: bolder 38px/60px "Microsoft YaHei UI";
        }

        /*汇总信息样式*/
        .summary {
            width: 90%;
            position: absolute;
            top: 120px;
            margin-left: 5%;

        }

        .text-left {
            font: bolder 20px/30px "Microsoft YaHei UI";
        }

        .left {
            width: 50%;
            float: left;

        }

        .right {
            width: 50%;
            float: right;

        }

        .desc {
            float: left;
            width: 100%;
        }

        .list-group-item span {
            font: normal 16px/38px "Microsoft YaHei UI";
            padding: 30px;

        }

        .list-group-item {
            position: relative;
            display: block;
            padding: .4rem 1.25rem;
            background-color: #fff;
            border: 1px solid rgba(0, 0, 0, .125);
        }

        /* 执行信息样式   */
        .test_info {
            width: 90%;
            position: absolute;
            top: 900px;
            margin-left: 5%;

            color: #28a745 !important;
        }

        .table td, th {
            border: solid 2px rgba(9, 122, 51, 0.11) !important;
            padding: 0;
            line-height: 40px;
            text-align: center;

        }


        select {
            border: 0;
            padding: 0;
            margin: 0;
            height: 2em;
            width: 8em;
            margin-left: 2em;
        }

        option {
            text-align: center;
            height: 36px;
            font: none 18px/36px "Microsoft YaHei UI";
            color: #28a745 !important;
        }

        .test_log {
            background: rgba(163, 171, 189, 0.15);
            width: 100%;
            height: 50px;
            border-top: none;
            border-bottom: none;
            display: none;
            text-align: left;
        }

        .test_log td {
            text-align: left;
            height: 30px;
            margin: 0;
            padding-left: 3em;
            padding-right:3em;
            font: none 18px/24px "Microsoft YaHei UI";
            color: #9e141a;
        }

        pre {
            margin: 0;
            white-space: pre-wrap;
            white-space: -moz-pre-wrap;
            white-space: -o-pre-wrap;
            word-wrap: break-word;
            line-height: 22px;
            font-size: 14px
        }

        /*    测试图表显示*/
        .char {
            width: 90%;
            position: absolute;
            top: 450px;
            margin-left: 5%;
            color: #28a745 !important;
        }

    </style>

</head>
<body>

<!--报告标题-->
<div class="title text-success">
    <div class="shadow-lg p-3 mb-5 bg-white rounded">测试报告</div>
</div>

<!--汇总信息-->
<div class="summary">
    <p class="text-left text-success">测试结果汇总</p>
    <div class="left">
        <ul class="list-group">
            <li class="list-group-item">
                <button type="button" class="btn btn-success">测试人员</button>
                <span class="text-dark">测试员</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-success">开始时间</button>
                <span class="text-dark">2024-11-14 17:05:25</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-success">执行时间</button>
                <span class="text-dark">1.40 S</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-success">用例总数</button>
                <span class="text-dark">20</span>
            </li>


        </ul>
    </div>
    <div class="right">
        <ul class="list-group">

            <li class="list-group-item">
                <button type="button" class="btn btn-success">成功用例</button>
                <span class="text-success">0</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-warning">失败用例</button>
                <span class="text-warning">20</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-danger">错误用例</button>
                <span class="text-danger">0</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-secondary">跳过用例</button>
                <span class="text-secondary">0</span>
            </li>
        </ul>
    </div>
    <div class="desc">
        <ul class="list-group">
            <li class="list-group-item">
                <button type="button" class="btn btn-success">描述信息</button>
                <span class="text-secondary">XX项目测试生成的报告</span>
            </li>
        </ul>
    </div>


</div>

<!--测试图表-->
<div class="char">
    <p class="text-left text-success">图表展示</p>
    <div id="char2" style="width: 49%;height: 400px;float: left"></div>
    <div id="char" style="width: 49%;height: 400px ;float: left"></div>
</div>

<!--详细信息-->
<div class="test_info">

    <p class="text-left text-success">详细信息</p>
    <div class="table_data">

        <table class="table">
            <thead class="bg-success text-light">
            <tr>
                <th scope="col" style="width: 5%;padding: 0">编号</th>
                <th scope="col" style="width: 20%;padding: 0">
                    <span>测试类</span>
                    <select id="testClass">
                        <option>所有</option>
                        
                            <option>TestIndustrial02</option>
                        
                            <option>TestIndustrial03</option>
                        
                            <option>TestIndustrial01</option>
                        
                            <option>TestIndustrial04</option>
                        
                    </select>

                </th>

                <th scope="col" style="width: 15%;padding: 0">测试方法</th>
                <th scope="col" style="width: 20%;padding: 0">用例描述</th>
                <th scope="col" style="width: 15%;padding: 0">执行时间</th>
                <th scope="col" style="width: 20%;padding: 0">

                    <span>执行结果</span>
                    <select id="testResult">
                        <option>所有</option>
                        <option class="text-success">成功</option>
                        <option class="text-warning">失败</option>
                        <option class="text-danger">错误</option>
                        <option class="text-info">跳过</option>
                    </select>

                </th>
                <th scope="col" style="width: 10%;padding: 0">详细信息</th>
            </tr>
            </thead>
            <tbody>
            
                <tr>
                    <td>1</td>
                    <td class="TestIndustrial01">TestIndustrial01</td>
                    <td>test_ind01_001</td>
                    <td>获取全国行政区编码</td>
                    <td>0.0792s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'city': '湖南'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532154 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind01_001 (test_industrial01.TestIndustrial01)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial01.py", line 58, in test_ind01
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial01.py", line 51, in test_ind01
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>2</td>
                    <td class="TestIndustrial02">TestIndustrial02</td>
                    <td>test_ind2_001</td>
                    <td>省-市-产业，三级联动数据</td>
                    <td>0.0753s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'name': '新能源'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532235 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind2_001 (test_industrial02.TestIndustrial02)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 58, in test_ind2
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 51, in test_ind2
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>3</td>
                    <td class="TestIndustrial02">TestIndustrial02</td>
                    <td>test_ind2_002</td>
                    <td>产业总览查询</td>
                    <td>0.0685s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'name': '新能源'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532303 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind2_002 (test_industrial02.TestIndustrial02)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 58, in test_ind2
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 51, in test_ind2
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>4</td>
                    <td class="TestIndustrial02">TestIndustrial02</td>
                    <td>test_ind2_003</td>
                    <td>校验图谱名称相似性</td>
                    <td>0.0712s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'name': '新能源'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532374 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind2_003 (test_industrial02.TestIndustrial02)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 58, in test_ind2
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 51, in test_ind2
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>5</td>
                    <td class="TestIndustrial02">TestIndustrial02</td>
                    <td>test_ind2_004</td>
                    <td>产业图谱中游主体查询</td>
                    <td>0.0685s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'idstNo': '80', 'nodeId': '30', 'relaTypeCd': 'pariatur in reprehenderit velit', 'parentNodeNo': 'aliquip tempor pariatur'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532443 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind2_004 (test_industrial02.TestIndustrial02)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 58, in test_ind2
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 51, in test_ind2
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>6</td>
                    <td class="TestIndustrial02">TestIndustrial02</td>
                    <td>test_ind2_005</td>
                    <td>产业图谱上下游查询</td>
                    <td>0.0667s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'idstNo': '74', 'nodeId': '75', 'relaTypeCd': 'eu dolore in', 'parentNodeNo': 'officia proident ullamco'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532512 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind2_005 (test_industrial02.TestIndustrial02)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 58, in test_ind2
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 51, in test_ind2
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>7</td>
                    <td class="TestIndustrial02">TestIndustrial02</td>
                    <td>test_ind2_006</td>
                    <td>保存图谱</td>
                    <td>0.0686s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'idstNo': '74', 'nodeId': '75', 'relaTypeCd': 'eu dolore in', 'parentNodeNo': 'officia proident ullamco'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532579 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind2_006 (test_industrial02.TestIndustrial02)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 58, in test_ind2
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 51, in test_ind2
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>8</td>
                    <td class="TestIndustrial02">TestIndustrial02</td>
                    <td>test_ind2_007</td>
                    <td>图谱历史查询</td>
                    <td>0.0701s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'idstNo': '25', 'nodeNo': '9999'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532651 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind2_007 (test_industrial02.TestIndustrial02)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 58, in test_ind2
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 51, in test_ind2
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>9</td>
                    <td class="TestIndustrial02">TestIndustrial02</td>
                    <td>test_ind2_008</td>
                    <td>添加企业时，获取企业摘要信息</td>
                    <td>0.071s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'pageFlag': 'cillum labore in in voluptate', 'pageSize': 83, 'pageNum': 27, 'custName': '闻人萍', 'industryRnvironment': 'do et Excepteur laboris in', 'idstName': '宫玉梅', 'mainProduct': 'fh5q31_i8l86@qq.com'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532717 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind2_008 (test_industrial02.TestIndustrial02)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 58, in test_ind2
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial02.py", line 51, in test_ind2
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>10</td>
                    <td class="TestIndustrial03">TestIndustrial03</td>
                    <td>test_ind3_001</td>
                    <td>产业分类查询接口</td>
                    <td>0.0684s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532788 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind3_001 (test_industrial03.TestIndustrial03)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial03.py", line 58, in test_ind3
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial03.py", line 51, in test_ind3
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>11</td>
                    <td class="TestIndustrial03">TestIndustrial03</td>
                    <td>test_ind3_002</td>
                    <td>获取企业的所属行业与产业信息</td>
                    <td>0.072s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532862 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind3_002 (test_industrial03.TestIndustrial03)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial03.py", line 58, in test_ind3
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial03.py", line 51, in test_ind3
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>12</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_001</td>
                    <td>推送企业信息</td>
                    <td>0.0657s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'list': [{'custNo': '12345', 'custName': 'Company A', 'uscd': 'US', 'industryEnvironment': 'Finance', 'idstCd': '123', 'idstCdDesc': 'Description', 'mainProduct': 'Product A'}, {'custNo': '67890', 'custName': 'Company B', 'uscd': 'US', 'industryEnvironment': 'Technology', 'idstCd': '456', 'idstCdDesc': 'Description', 'mainProduct': 'Product B'}]}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532929 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_001 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>13</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_002</td>
                    <td>查询关联企业</td>
                    <td>0.066s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'nodeName': '新能源'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:33Z, a difference of 532992 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_002 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>14</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_003</td>
                    <td>AI通用拓展</td>
                    <td>0.0734s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'chainName': '采购'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:34Z, a difference of 533066 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_003 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>15</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_004</td>
                    <td>AI产品拓展</td>
                    <td>0.0654s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'chainName': '卢成'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:34Z, a difference of 533133 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_004 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>16</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_005</td>
                    <td>AI研报推送</td>
                    <td>0.0674s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'fileUrl': 'https://pdf.valueonline.cn//web/viewer.html?v=20200509&file=https%3A%2F%2Fydannouncementbucket.obs.myhuaweicloud.com%2F20240422%2F202404221713685638461007332.pdf&companyCode=300872', 'fileName': '天阳科技2023年年度审计报告1111'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:34Z, a difference of 533199 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_005 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>17</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_006</td>
                    <td>搜索研报</td>
                    <td>0.0656s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'keyWord': '天气'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:34Z, a difference of 533265 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_006 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>18</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_007</td>
                    <td>AI研报拓展</td>
                    <td>0.0718s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'industryName': '节成', 'docs': [{'id': 'VpI7LflhivQh1pTwRSK1i'}, {'id': '5fOQ9eIgWvWTc76T58RX1'}]}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:34Z, a difference of 533336 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_007 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>19</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_008</td>
                    <td>AI总结-当前节点分析</td>
                    <td>0.0713s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'data': 'veniam', 'currentNodeName': '新能源'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:34Z, a difference of 533409 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_008 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            
                <tr>
                    <td>20</td>
                    <td class="TestIndustrial04">TestIndustrial04</td>
                    <td>test_ind4_009</td>
                    <td>AI助手</td>
                    <td>0.0677s</td>
                    
                        <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">

                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        

                            <pre>{'question': '新能源汽车的优点'}
预期结果： {'code': 200}
实际结果： {'extValues': {}, 'success': False, 'status': 200, 'code': '403', 'message': 'token认证失败！JWT expired at 2024-11-14T16:56:41Z. Current time: 2024-11-14T17:05:34Z, a difference of 533475 milliseconds.  Allowed clock skew: 0 milliseconds.'}
test_ind4_009 (test_industrial04.TestIndustrial04)执行——>【失败】
</pre>
                        

                            <pre>Traceback (most recent call last):
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 59, in testPartExecutor
    yield
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 615, in run
    testMethod()
</pre>
                        

                            <pre>  File "D:\python373\lib\site-packages\unittestreport\core\dataDriver.py", line 19, in wrapper
    return func(self, params, *args, **kwargs)
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 58, in test_ind4
    raise e
</pre>
                        

                            <pre>  File "C:\Users\42502\Desktop\1112python\testcases\test_industrial04.py", line 51, in test_ind4
    self.assertEqual(ecpected['code'],res['code'])
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
</pre>
                        

                            <pre>  File "D:\python373\lib\unittest\case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
</pre>
                        

                            <pre>AssertionError: 200 != '403'
</pre>
                        
                        
                    </td>
                </tr>
            

            </tbody>
        </table>
    </div>

    <div style="height: 200px"></div>
</div>


<script>
    var tbodyTr = $('tbody tr');
    var testResult = $("#testResult");
    var testClass = $("#testClass");
    <!--    用例执行详细信息显示切换-->
    $(".btn_info").click(function () {
        $(this).parent().parent().next().toggle();

    });
    // 当选择用例类之后触发
    testClass.change(function () {
        var cls = $(this).val();
        var res = testResult.val();
        elementDisplay(cls, res);
        sort()
    });
    testResult.change(function () {
        var res = $(this).val();
        var cls = testClass.val();
        elementDisplay(cls, res);
        sort()
    });

    function elementDisplay(cls, res) {
        // 用例数据的显示
        if (cls === "所有") {
            if (res === "所有") {
                tbodyTr.has('button').show();
            } else if (res === '成功') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-success').show()

            } else if (res === '失败') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-warning').show()

            } else if (res === '错误') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-danger').show()

            } else if (res === '跳过') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-info').show()
            }
        } else {
            if (res === "所有") {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').show()
            } else if (res === '成功') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-success').show()
            } else if (res === '失败') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-warning').show()
            } else if (res === '错误') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-danger').show()
            } else if (res === '跳过') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-info').show()
            }
        }
    }

    function sort() {
        //重新排列显示序号
        // 选择所有可以见的tr
        var visibleTr = tbodyTr.filter(":visible");

        visibleTr.each(function (index, element) {
            element.firstElementChild.innerHTML = index + 1;

        })

    }


</script>

<script type="text/javascript">
    // 基于准备好的dom，初始化echarts实例
    var myChart = echarts.init(document.getElementById('char'));
    var myChart2 = echarts.init(document.getElementById('char2'));
    // 指定图表的配置项和数据
    option = {
        color: ['#00a10a', '#ddb518', 'rgba(204,46,41,0.73)', '#85898c'],
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b}: {c} ({d}%)'
        },
        legend: {
            orient: 'vertical',
            left: 10,
            data: ['通过', '失败', '错误', '跳过']
        },
        series: [
            {
                name: '测试结果',
                type: 'pie',
                radius: ['50%', '70%'],
                avoidLabelOverlap: false,
                label: {
                    show: false,
                    position: 'center'
                },
                emphasis: {
                    label: {
                        show: true,
                        fontSize: '30',
                        fontWeight: 'bold'
                    }
                },
                labelLine: {
                    show: false
                },
                data: [
                    {value: 0, name: '通过'},
                    {value: 20, name: '失败'},
                    {value: 0, name: '错误'},
                    {value: 0, name: '跳过'}
                ]
            }
        ]
    };
    option2 = {
        tooltip: {
            formatter: '{a} <br/>{b} : {c}%'
        },
        toolbox: {
            feature: {
                restore: {},
                saveAsImage: {}
            }
        },
        series: [
            {
                name: '测试结果',
                type: 'gauge',
                detail: {formatter: '0.00%'},
                data: [{value: '0.00', name: '用例通过率'}],
                axisLine: {
                    lineStyle: {
                        color: [
                            [0.2, '#c20000'],
                            [0.8, '#ddb518'],
                            [1, '#00a10a']]
                    }
                }
            }
        ]
    };


    myChart2.setOption(option2);
    // 使用刚指定的配置项和数据显示图表。
    myChart.setOption(option);
</script>


</body>
</html>